<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
      var pt = ['可莉','迪奥娜','八重神子','早柚','七七',]
console.log(pt.splice(2, 1, '纳西妲'))
console.log(pt)
    </script>
</body>

</html>